package com.study.app.domain.bo;


import com.study.common.core.domain.BaseEntity;
import com.study.common.core.validate.AddGroup;
import com.study.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;



/**
 * 用户邀请记录业务对象 app_user_invitation_record
 *
 * @author study
 * @date 2023-04-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppUserInvitationRecordBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 被邀用户ID
     */
    @NotNull(message = "被邀用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long invitationUserId;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invitationPhone;


}
